package com.xinzhi.service.impl;

import com.xinzhi.mapper.OneGradeMapper;
import com.xinzhi.pojo.OneGradeIndex;
import com.xinzhi.service.OneGradeService;
import com.xinzhi.utils.RedisUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OneGradeServiceImpl implements OneGradeService {

    @Autowired
    private OneGradeMapper oneGradeMapper;

    @Autowired
    private RedisUtils redisUtils;


    @Override
    public List<OneGradeIndex> getAll() {

        return oneGradeMapper.getAllwidth();
    }
}
